package com.rinlink.jbcodec.creator;

import com.rinlink.jbcodec.transform.BytesToDoubleList;
import com.rinlink.jbcodec.transform.BytesToIntegerList;
import com.rinlink.jbcodec.transform.Transform;

import java.nio.ByteBuffer;

public class ByteBufferToDoubleArrayCreator extends ByteBufferToNumberArrayCreator{

    @Override
    public Transform create(ByteBuffer buf, int size, String order) {
        return new BytesToDoubleList(buf,size,order);
    }
}
